<?php
namespace Admin\Model;
use Think\Model\ViewModel;
class ClassmViewModel extends ViewModel {
    //视图模型
    protected $viewFields = array(
         'Classm'=>array('classm_id','classl_id','classm_name','classm_order','classm_status','_type'=>'left'),
         'Classl'=>array('classl_id','classl_name','classl_order','classl_img','classl_status','_on'=>'Classm.classl_id=Classl.classl_id','_type'=>'left'),  
    );
    
}